]> dgit.raspbian.org Git - gnome-shell.git/commit
quickSettings: Add background apps menu
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 2 Feb 2023 18:58:43 +0000 (15:58 -0300)
committerMarge Bot <marge-bot@gnome.org>
Sun, 12 Feb 2023 16:16:36 +0000 (16:16 +0000)
commit7604dd1103718fec1ce3b95364ec4279034466be
tree5fb15362d50fd38efbae368ee26f0ad9ea7c9e74
parent055694de9df70f17bfa85786b8cbc5d8e2d2e793
quickSettings: Add background apps menu

Sandboxed apps that run without a window are detected by the new
background monitoring service, introduced by xdg-desktop-portal.

We have an opportunity to improve the predictability of the desktop
and ensure that application state in transparently reported to users
by showing these apps, and allowing them to closed.

Add a new background apps menu to the quick settings, that is always
added at the bottom of the popover, and has a slightly custom, flat
style applied to it.

Show background-running apps in this menu, and allow closing them
by first attempting to execute the 'quit' action through D-Bus, and
if that fails, sending SIGKILL to the process.

See https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/191

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2624>
data/dbus-interfaces/org.freedesktop.background.Monitor.xml [new file with mode: 0644]
data/gnome-shell-dbus-interfaces.gresource.xml
data/gnome-shell-icons.gresource.xml
data/icons/scalable/status/background-app-ghost-symbolic.svg [new file with mode: 0644]
data/theme/gnome-shell-sass/widgets/_quick-settings.scss
js/js-resources.gresource.xml
js/ui/panel.js
js/ui/status/backgroundApps.js [new file with mode: 0644]
po/POTFILES.in